package generics;

import generics.cl.container.AbstractContainer;
import generics.cl.container.RedContainer;
import generics.cl.container.WhiteContainer;
import generics.cl.processor.GenericProcessor;

/**
 * Created by IntelliJ IDEA.
 * User: Admin
 * Date: 10.05.11
 * Time: 16:46
 * To change this template use File | Settings | File Templates.
 */
public class ClassExtends {

	private GenericProcessor proc = new GenericProcessor();

	public void init() {
		WhiteContainer w_c = new WhiteContainer();
		RedContainer r_c = new RedContainer();
		AbstractContainer a_c = w_c;
		a_c = r_c;

		proc.add(w_c);
//		proc.add(r_c);
//		proc.add(a_c);
	}

}
